Skip to main content

md5Digest

Type

function

Summary

Computes a MD5 cryptographic message digest.

Syntax

the md5Digest of <message>
md5Digest(<message>)

Description

Compute a message digest of message using the MD5 cryptographic hash function.

warning

Serious flaws have been found in the MD5 hash algorithm that make it unsuitable to use for security-critical purposes. Unless you need backwards compatibility with existing systems, use one of the other algorithms available with the messageDigest function

Parameters

NameTypeDescription

message

data

A binary data string.

Examples

get the md5Digest of "LiveCode"
put textEncode("Message to verify", "UTF-8") into tMessage
get md5Digest(tMessage)

function: sha1Digest, messageDigest

glossary: byte, function

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?